﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class StartPanelSwitch : MonoBehaviour
{
    public GameObject toLoginPanel;
    public GameObject toRegistPanel;
    public GameObject toSettingPanel;


    public void OnClickToLoginPanel()
    {
        toRegistPanel.SetActive(false);
        toSettingPanel.SetActive(false);
        toLoginPanel.SetActive(true);
    }
    public void OnClickToRegistPanel()
    {
        toLoginPanel.SetActive(false);
        toSettingPanel.SetActive(false);
        toRegistPanel.SetActive(true);
    }
    public void OnClickToSettingPanel()
    {
        toLoginPanel.SetActive(false);
        toRegistPanel.SetActive(false);
        toSettingPanel.SetActive(true);
    }
}
